// const ora = require("ora");
import ora from 'ora'

const spinners = [ora("Loading1..."), ora("Loading2...")];
spinners[0].start();

setTimeout(() => {
  spinners[0].succeed("Loading1 Success");
  spinners[1].start();
}, 3000);

setTimeout(() => {
  spinners[1].fail("Loading2 Fail");
}, 6000);
